package cn.bjsxt.test02;

public class TestWhileFor02 {
	public static void main(String[] args){
		for (int i = 1; i < 10; i++) {
			for (int j = 1; j <= i; j++) {
				int b = i * j;
//				if (j < i) {
//					System.out.print(j + "x" + i + "=" + b + "  ");
//				} else {
//					System.out.println(j + "x" + i + "=" + b + "  ");
//				}
				System.out.print(j + "x" + i + "=" + b + "  ");
			}
			System.out.println();
		}
	}
}
